//
//  YDOAApplyManageVC.swift
//  YDOAProduct
//
//  Created by 占益民 on 2017/11/23.
//  Copyright © 2017年 Allen. All rights reserved.
//

import UIKit

class YDOAApplyManageVC: UIViewController {
    //月度申请
    @IBAction func monthlyBtnclick(_ sender: Any) {
        YMLog.log(item: "月度申请点击")
//        navigationController?.pushViewController(YDOAApplyDetialVC(), animated: true)
        let vc = YDOAGoodsApplyVC()
        vc.type = 0
        navigationController?.pushViewController(vc, animated: true)
    }
    //办公领用 申请
    @IBAction func bangongBtnclick(_ sender: Any) {
        let vc = YDOAGoodsApplyVC()
        vc.type = 1
        navigationController?.pushViewController(vc, animated: true)
          YMLog.log(item: "办公领申请用点击")
    }
    //急性物品
    @IBAction func jixingBtnClick(_ sender: Any) {
          YMLog.log(item: "急性物品申请点击")
        let vc = YDOAAcuteApplyVC()
        vc.type = 0
        
        navigationController?.pushViewController(vc, animated: true)
    }
    
    //派车申请
    @IBAction func paicheBtnClick(_ sender: Any) {
          YMLog.log(item: "派车申请点击")
         navigationController?.pushViewController(YDOASendCarVC(), animated: true)
    }
    
    //固定资产申请
    @IBAction func guzhiBtnClick(_ sender: Any) {
          YMLog.log(item: "固定资产申请点击")
        let vc = YDOAAcuteApplyVC()
        vc.type = 1
        navigationController?.pushViewController(vc, animated: true)
    }
    
    //费用报销申请
    @IBAction func feiyongBtnClick(_ sender: Any) {
          YMLog.log(item: "费用报销申请点击")
        navigationController?.pushViewController(YDOAExpenseAccountApplyVC(), animated: true)
    }
    
    
    
    override func viewDidLoad() {
        super.viewDidLoad()
        title = "申请管理"
        self.navigationController?.navigationBar.isHidden = false
        self.automaticallyAdjustsScrollViewInsets = false
        self.edgesForExtendedLayout = .init(rawValue: 0)
        // Do any additional setup after loading the view.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    



}
